from homework.pytest_prac.script.calculator import Calculator
from homework.pytest_prac.test.utils.log_util import logger


class Base:

    def setup_class(self):
        # 类级别
        logger.info("实例化计算器对象")
        self.cal = Calculator()

    def setup(self):
        logger.info("开始计算")

    def teardown(self):
        logger.info("结束计算")